package function
import java.util.Date

//过多的参数
fun findOrders(telphone: String, startDate:Date, endDate: Date, minPrice: Double,
               maxPrice:Double, goodsType: String, expressCompany:String): List<Order>{

    return listOf(Order(1), Order(2), Order(3))
}

//过长的函数体

class Order(val id: Int)